import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import static com.kms.katalon.core.testobject.ObjectRepository.findWindowsObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testng.keyword.TestNGBuiltinKeywords as TestNGKW
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords as Windows
import internal.GlobalVariable as GlobalVariable
import org.openqa.selenium.Keys as Keys

WebUI.click(findTestObject('Object Repository/shippingNote/Page_/div_'))

WebUI.click(findTestObject('Object Repository/shippingNote/Page_/li_'))

WebUI.mouseOver(findTestObject('shippingNote/Page_/search_container'))

WebUI.setText(findTestObject('shippingNote/Page_/search_plateNum'), GlobalVariable.FLOW_PROD_PLATE_NUM)

WebUI.setText(findTestObject('shippingNote/Page_/search_huowumingcheng'), GlobalVariable.FLOW_PROD_CARGO_NAME)

WebUI.setText(findTestObject('shippingNote/Page_/search_lianxifangshi'), GlobalVariable.FLOW_PROD_PHONE)

WebUI.click(findTestObject('shippingNote/Page_/search_currentStep'))

WebUI.click(findTestObject('shippingNote/Page_/select_current_step_yunshudanbanli'))

WebUI.mouseOver(findTestObject('shippingNote/Page_/search_container'))

WebUI.click(findTestObject('Object Repository/shippingNote/Page_/button__1'))

WebUI.click(findTestObject('shippingNote/Page_/select_note'))

WebUI.setText(findTestObject('shippingNote/Page_/input_kehumingcheng'), '自动化客户')

WebUI.click(findTestObject('shippingNote/Page_/input_huowuleixing'))

'含全局变量'
WebUI.click(findTestObject('shippingNote/Page_/li_1'))

WebUI.click(findTestObject('shippingNote/Page_/input_huowuxinghao'))

'含全局变量'
WebUI.click(findTestObject('shippingNote/Page_/li_11'))

WebUI.setText(findTestObject('shippingNote/Page_/input_yunshumudidi'), GlobalVariable.FLOW_PROD_TARGET_PLACE)

WebUI.setText(findTestObject('shippingNote/Page_/input_zhuanghuodunwei'), GlobalVariable.FLOW_PROD_T_NUM)

WebUI.click(findTestObject('shippingNote/Page_/div_save'))

WebUI.click(findTestObject('shippingNote/Page_/div_submit'))

WebUI.click(findTestObject('shippingNote/Page_/button_sure'))

